from py_page.base_page import BasePage


class LoginPage(BasePage):

    # path = r"C:\Users\37210\Desktop\测开班_16\app_ui_frame16\py_yaml\login_page.yaml"
    path = BasePage.get_path("/py_yaml/login_page.yaml")

    def use_right_account_login(self):
        self.run_steps(self.path, "use_right_account_login")
        from py_page.my_page import MyPage
        return MyPage(self.driver)

